I suppose this was disabled to not build twice when pushing to branches
A pet-peeve if I ever had one :D
thanks for the heads up @nsoranzo
Nicola Soranzo
@nsoranzo
No worries (and use your fork, Luke!)
Martin Cech
@martenson
Yeah, I did that to most of our projects, I understand it is sometimes annoying but you can always trigger the build if you need it
and the double-build on PR is annoying and consumes our travis quota
Martin Cech
@martenson
@natefoo can we bring the other au nodes up now too?
re jenkins
Nate Coraor
@natefoo
I need to set the keepalive settings on them as well, one sec
Martin Cech
@martenson
(jenkins is being upgraded atm)
Nicola Soranzo
@nsoranzo
@martenson We have added automatic push to PyPI for ephemeris, which is accomplished using a deploy stage on the builds for tags. So we need Travis building on branches, or tags won't be built AFAIK.
Yeah, better to use a with statement. Though in practice it shouldn't be a problem for short lived scripts like these.
Marius van den Beek
@mvdbeek
For the snpeff metadata you'd want to use a with statement as well (always use with, there's no harm in it). The try/except isn't necessary, the framework will handle any exception anyway
Sergey Golitsynskiy
@ic4f
thanks, will change. (also, i'm afraid i made a mess of that PR.. Untangling.. merge/force push accident)
Marius van den Beek
@mvdbeek
Ah, it doesn't for set_metadata, so you do need the try/except
Björn Grüning
@bgruening
For everyone working/interested on data managers, could you please look at this one galaxyproject/tools-iuc#2489 and leave comments.
Sergey Golitsynskiy
@ic4f
except (pun not intended), if that's the except i'm thinking of, it has 'pass' only - so it doesn't handle anything; and without a finally clause, the file stays open. So i'd modify it, i suppose?
Nicola Soranzo
@nsoranzo
@ic4f Here is how I would recommend to read/write JSON files, note the sort_keys=True to make testing of data managers easier.
Nicola Soranzo
@nsoranzo
@jmchilton Can I also get a release of galaxy-containers into PyPI ? It will be needed by Planemo post galaxy-lib (due to from galaxy.containers.docker_model import DockerVolume in planemo/galaxy/config.py)
Martin Cech
@martenson
@ic4f it silences the exception
I think the preferred pattern is to use
finally:
fh.close()
@jmchilton alternatively write a short release checklist and we can share the load
Sergey Golitsynskiy
@ic4f
@martenson : silences the exception - i know, that was my point (i.e., as opposed to failing 'fast and failing loudly'). And yes, i was going to do just that - adding a finally clause.
Nicola Soranzo
@nsoranzo
I'm happy to be a package maintainer too, if we want to have a group
@martenson@nsoranzo for the sake of simplicity, i'll do separate PRs: one to fix python-3 incompatibility issues, the other one (or multiple PRs, if need be), to fix misc issues like unclosed files, etc. Otherwise it's turning into a rather large PR that does many different things.