-
Notifications
You must be signed in to change notification settings - Fork 18
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
Added support for rasx xrd files #1067
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1067 +/- ##
==========================================
+ Coverage 70.07% 70.18% +0.10%
==========================================
Files 63 63
Lines 4087 4105 +18
==========================================
+ Hits 2864 2881 +17
- Misses 1223 1224 +1
🚀 New features to boost your workflow:
|
datalab
|
Project |
datalab
|
Branch Review |
bes/xrd-rasx
|
Run status |
|
Run duration | 08m 11s |
Commit |
|
Committer | Ben Smith |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
471
|
View all changes introduced in this branch ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @be-smith, just wanted to write down the comments we had when going through it in the meeting. Looking good so far!
…the accepted extensions for xrd block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MJCliffe has given the goahead to use the test file, so think we're good here! We can try to figure out the final/column XML stuff at a later date.
Just one more comment then lets merge!
data_file = None | ||
for file in destination.glob("Data*/*.txt"): | ||
data_file = file | ||
break | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here we should emit a warning if there are extra data folders or txt files. You can use warnings.warn("<message>")
and it will show up in the block UI for the user. Just say something like "only / was used, but others were found."
Added support for .rasx (.rasx.zip) xrd files from the Rigaku diffractometer.