Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v2.2.9 #235

Merged
merged 10 commits into from
Dec 3, 2020
Merged

Release/v2.2.9 #235

merged 10 commits into from
Dec 3, 2020

Conversation

creisle
Copy link
Member

@creisle creisle commented Dec 3, 2020

BugFixes

  • Update links to old docs to use new RTD links
  • Make sure column and settings files are generated when RTD builds the docs
  • write logs when jobs fail running in local mode

Improvements

@creisle creisle added this to the v2.2.9 milestone Dec 3, 2020
@creisle creisle self-assigned this Dec 3, 2020
@codecov
Copy link

codecov bot commented Dec 3, 2020

Codecov Report

Merging #235 (e7127e7) into master (74cc132) will increase coverage by 10.64%.
The diff coverage is 78.26%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #235       +/-   ##
===========================================
+ Coverage   80.51%   91.16%   +10.64%     
===========================================
  Files          52       52               
  Lines        9126     9132        +6     
===========================================
+ Hits         7348     8325      +977     
+ Misses       1778      807      -971     
Flag Coverage Δ
unittests 91.16% <78.26%> (+10.64%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mavis/schedule/local.py 73.46% <66.66%> (+47.93%) ⬆️
mavis/schedule/pipeline.py 73.31% <90.90%> (+17.62%) ⬆️
mavis/annotate/fusion.py 96.02% <0.00%> (+0.33%) ⬆️
mavis/bam/cigar.py 98.14% <0.00%> (+0.61%) ⬆️
mavis/bam/cache.py 88.31% <0.00%> (+0.64%) ⬆️
mavis/schedule/job.py 78.26% <0.00%> (+0.72%) ⬆️
mavis/cluster/main.py 90.24% <0.00%> (+0.81%) ⬆️
mavis/annotate/genomic.py 93.12% <0.00%> (+1.03%) ⬆️
mavis/breakpoint.py 95.00% <0.00%> (+1.53%) ⬆️
mavis/illustrate/elements.py 96.37% <0.00%> (+1.69%) ⬆️
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74cc132...e7127e7. Read the comment docs.

@creisle
Copy link
Member Author

creisle commented Dec 3, 2020

The error fix will now report this error

    'The mavis executable was not found on the current PATH. '
FileNotFoundError: The mavis executable was not found on the current PATH. This is required in order to run external scripts. Please add mavis to the PATH with PATH=$PATH:/path/to/mavis/bin

Instead of the less informative

  File "...pipeline.py", line 277, in write_submission_script
    fh.write(' \\\n\t'.join(commands) + '\n\n')
TypeError: sequence item 0: expected str instance, NoneType found

**default**: `#!python {repr(value)}`{accepted}

{desc}
'''
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using textwrap.dedent() to keep the string inline with the rest of the code without adding any extra whitespace. I think it's a standard python library.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! I didn't know there was a function for that! I have similar strings in other parts of the code tho so I will make an issue so we can replace them all at once instead of just here. created #236

@creisle creisle merged commit ad01c94 into master Dec 3, 2020
@creisle creisle deleted the release/v2.2.9 branch December 3, 2020 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants