Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2DAlphabet
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amitav Mitra
2DAlphabet
Commits
2ecfa116
Commit
2ecfa116
authored
8 months ago
by
Amitav Mitra
Browse files
Options
Downloads
Patches
Plain Diff
fix len check
parent
d77f1ccf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
TwoDAlphabet/helpers.py
+1
-1
1 addition, 1 deletion
TwoDAlphabet/helpers.py
with
1 addition
and
1 deletion
TwoDAlphabet/helpers.py
+
1
−
1
View file @
2ecfa116
...
...
@@ -285,7 +285,7 @@ def _combineTool_impacts_fix(fileNameExpected):
potential_files_to_rename
=
glob
.
glob
(
seed_version
)
# Only run if there are seeded files to rename
if
potential_files_to_rename
>
0
:
if
len
(
potential_files_to_rename
)
>
0
:
all_seeds
=
list
(
set
([
f
.
split
(
'
.
'
)[
-
2
]
for
f
in
potential_files_to_rename
]))
if
len
(
all_seeds
)
>
1
:
raise
RuntimeError
(
'
More than one seed found when trying to move files for combineTool (%s). Clean up the area and try again.
'
%
all_seeds
)
...
...
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