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

Changed additional flow node input to list to allow various from layer to layer #342

Merged
merged 9 commits into from
Feb 26, 2021
Prev Previous commit
Next Next commit
Fixed fstring issue
wouterjdb committed Feb 26, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0260a08aacf8e7e798c127de7cec016ba0cc62eb
6 changes: 3 additions & 3 deletions src/flownet/config_parser/_config_parser.py
Original file line number Diff line number Diff line change
@@ -1682,9 +1682,9 @@ def parse_config(
)
if layers and not len(layers) is len(config.flownet.additional_flow_nodes):
raise ValueError(
f"For each layer in the FlowNet model you have to supply an entry in the "
"additional flow nodes list. Currenly you have {str(len(layers))} layers "
"and {str(len(config.flownet.additional_flow_nodes))} additional flow node "
"For each layer in the FlowNet model you have to supply an entry in the "
f"additional flow nodes list. Currenly you have {str(len(layers))} layers "
f"and {str(len(config.flownet.additional_flow_nodes))} additional flow node "
"defitions."
)