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

Tidy up dlsnxs2cbf #311

Merged
merged 6 commits into from
Aug 10, 2021
Merged

Tidy up dlsnxs2cbf #311

merged 6 commits into from
Aug 10, 2021

Conversation

benjaminhwilliams
Copy link

dxtbx.dlsnxs2cbf seems to have some idiosyncratic code that could do with tidying up. In particular, we ought to be using a context manager for file input as well as output, and the function depends_on is either a no-op (quite probable) or it is probing implicitly for some exception that that it does not handle, in which case that behaviour ought to be documented.

@benjaminhwilliams benjaminhwilliams changed the title Remove no-op, use context manager for file I/O Tidy up dlsnxs2cbf Feb 19, 2021
@codecov
Copy link

codecov bot commented Feb 19, 2021

Codecov Report

Merging #311 (1381403) into main (2e86bef) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #311      +/-   ##
==========================================
- Coverage   64.67%   64.65%   -0.02%     
==========================================
  Files         177      177              
  Lines       15274    15263      -11     
  Branches     2068     2066       -2     
==========================================
- Hits         9878     9869       -9     
+ Misses       4853     4851       -2     
  Partials      543      543              

Base automatically changed from master to main March 1, 2021 10:53
# Conflicts:
#	util/dlsnxs2cbf.py
@benjaminhwilliams benjaminhwilliams marked this pull request as ready for review May 26, 2021 16:14
@ndevenish ndevenish enabled auto-merge (squash) August 10, 2021 17:30
@ndevenish ndevenish merged commit c4abbb3 into main Aug 10, 2021
@ndevenish ndevenish deleted the tidier-dlsnxs2cbf branch August 10, 2021 17:56
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.

2 participants