-
Notifications
You must be signed in to change notification settings - Fork 59
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
Working on adding entity_message #593
Conversation
for more information, see https://pre-commit.ci
Hi @djarecka, Couple questions.... When I have the following JN test:
I am unable to retrieve the in_file from the print statement and instead I'm left with "Inputs has no attribute 'in_file'" even though I define it as a path to a file in a previous line. I will need this in order to fill the 'at_location' field in entity by getting the abs. path of the in_file. Additionally, you will see that I have added self.audit_message again at the end of audit.py. I'm assuming there is a more elegant way to add another message to self.audit_message. |
Codecov ReportBase: 76.77% // Head: 76.81% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #593 +/- ##
==========================================
+ Coverage 76.77% 76.81% +0.04%
==========================================
Files 19 19
Lines 4349 4357 +8
Branches 1193 1194 +1
==========================================
+ Hits 3339 3347 +8
Misses 821 821
Partials 189 189
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Wondering if we should strip the filename and just return dir path. 1cc91ef |
I don't see |
Will add accompanying pytest for d0770b4 later today. |
I think your current tests stopped working, it might be good to figure out this first |
for more information, see https://pre-commit.ci
you fixed the tests, nice! you should add more tests for entity now, I also left some comments, we can discuss them later today if something is not clear |
@djarecka What are your thoughts on adding a test that uses a task that requires file manipulation? Would be helpful for me in further development. Is it best to use a nifti file living on the repo like in nipype, or should we just create a scratch .txt file and then delete it each run? |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@rcali21 - thanks for fixing most of the issues, but I'm not sure why you just removed the second file from the input in test |
for more information, see https://pre-commit.ci
Resolved in 662ade1. |
Thanks @rcali21 for fixing the test! I know we were talking about adding output in this PR, but I will merge this now, and output can be done in a separate PR. Also, the connection of input and output to the task will have to be added |
WIP-Entity message in BIDS Prov