Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KADMOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LR-FPP-MDO
KADMOS
Commits
1eb23623
Commit
1eb23623
authored
8 years ago
by
imcovangent
Browse files
Options
Downloads
Patches
Plain Diff
KE-Chain workshop - bug fix merge functions
Former-commit-id: 13a315f67530755c2775a6cc9cc3f813203506c0
parent
4d309e13
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#192780
canceled
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyKADMOS/sample/graph.py
+2
-2
2 additions, 2 deletions
pyKADMOS/sample/graph.py
with
2 additions
and
2 deletions
pyKADMOS/sample/graph.py
+
2
−
2
View file @
1eb23623
...
...
@@ -1371,7 +1371,7 @@ class KadmosGraph(nx.DiGraph):
# Handle the fact that the *args could also be a list or tuple directly
if len(args) == 1 and (isinstance(args[0], tuple) or isinstance(args[0], list)):
args =
[
args[0]
]
args =
list(
args[0]
)
# Input assertions
assert len(args) > 1, 'More than 1 input argument is required.'
...
...
@@ -1428,7 +1428,7 @@ class KadmosGraph(nx.DiGraph):
# Handle the fact that the *args could also be a list or tuple directly
if len(args) == 1 and (isinstance(args[0], tuple) or isinstance(args[0], list)):
args =
[
args[0]
]
args =
list(
args[0]
)
# Input assertions
assert len(args) > 1, 'More than 1 input is required for this function.'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment