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

Make temporary folders temporary #1566

Merged
merged 5 commits into from
May 16, 2022

Conversation

fabianegli
Copy link
Contributor

@fabianegli fabianegli commented May 12, 2022

The tests for list left a remnant folder in /tmp/ named nxf which I believe to be an undesired behaviour.

I also took the opportunity to use pathlib.Path, isort and simplify some of the code in list.py (and make it marginally faster).

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

Closes #1565

@fabianegli fabianegli changed the title Fabianegli modules list Make temporary folders temporary May 12, 2022
@codecov

This comment was marked as resolved.

fabianegli added a commit to fabianegli/tools that referenced this pull request May 12, 2022
fabianegli added a commit to fabianegli/tools that referenced this pull request May 12, 2022
fabianegli added a commit to fabianegli/tools that referenced this pull request May 12, 2022
@ewels ewels requested a review from mirpedrol May 13, 2022 12:32
Copy link
Member

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

Tested the functionality and looks good to me

tests/test_list.py Outdated Show resolved Hide resolved
@fabianegli
Copy link
Contributor Author

I also sneaked in a Deprecation warning for invalid escape sequence \[. A bit off-topic for this PR, but I hope that's fine.

@fabianegli fabianegli merged commit 118a4b7 into nf-core:dev May 16, 2022
@fabianegli fabianegli deleted the fabianegli-modules-list branch May 16, 2022 10:46
@ewels
Copy link
Member

ewels commented May 16, 2022

Missing changelog, for next time :) (I'll add something now)

@fabianegli
Copy link
Contributor Author

Sorry for that, and thank you for taking care of the changelog.

@ewels
Copy link
Member

ewels commented May 16, 2022

No worries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants