-
Notifications
You must be signed in to change notification settings - Fork 224
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
Templatereplacer: fix files input namespace + add tests #4348
Conversation
11c0f33
to
50f3f0c
Compare
@ramirezfranciscof I think you may have used an incorrect branch because this seems to include two unrelated commits. |
50f3f0c
to
aa32928
Compare
Codecov Report
@@ Coverage Diff @@
## develop #4348 +/- ##
===========================================
+ Coverage 79.15% 79.28% +0.14%
===========================================
Files 468 468
Lines 34620 34616 -4
===========================================
+ Hits 27400 27443 +43
+ Misses 7220 7173 -47
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
aa32928
to
3c618ad
Compare
@sphuber There, I fixed that, rebased and all test pass. Thanks for the heads up, I promise I will eventually make a good PR from the first push (⌒_⌒;) |
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 @ramirezfranciscof just a minor simplification
edcdc14
to
dc19c50
Compare
Sorry @ramirezfranciscof that should have been |
The `files` namespace is supposed to accept any `SinglefileData` or `RemoteData`, but it was not marked dynamic explicitly. In that case, only explicitly defined ports are excepted, which is not what is intended here.
dc19c50
to
78b73dc
Compare
Ah, no problem, I didn't notice either! For me its ready to merge. |
The
files
input namespace of theTemplatereplacerCalculation
was not dynamic (so it was basically an unusable namespace with no inputs in it). This is a quick fix for that. Additionally, I have added a test for all of its basic functionalities and a test specifically for said namespace.