Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
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
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ben Sepanski
loopy
Commits
cd37f601
Commit
cd37f601
authored
7 years ago
by
Matt Wala
Browse files
Options
Downloads
Patches
Plain Diff
ValueError -> LoopyError
parent
482c6d74
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
loopy/transform/save.py
+2
-2
2 additions, 2 deletions
loopy/transform/save.py
with
2 additions
and
2 deletions
loopy/transform/save.py
+
2
−
2
View file @
cd37f601
...
@@ -409,7 +409,7 @@ class TemporarySaver(object):
...
@@ -409,7 +409,7 @@ class TemporarySaver(object):
elif
isinstance
(
tag
,
LocalIndexTag
):
elif
isinstance
(
tag
,
LocalIndexTag
):
my_local_tags
.
append
(
tag
)
my_local_tags
.
append
(
tag
)
elif
isinstance
(
tag
,
ParallelTag
):
elif
isinstance
(
tag
,
ParallelTag
):
raise
Value
Error
(
raise
Loopy
Error
(
"
iname
'
%s
'
is tagged with
'
%s
'
- only
"
"
iname
'
%s
'
is tagged with
'
%s
'
- only
"
"
group and local tags are supported for
"
"
group and local tags are supported for
"
"
auto save/reload of temporaries
"
%
"
auto save/reload of temporaries
"
%
...
@@ -423,7 +423,7 @@ class TemporarySaver(object):
...
@@ -423,7 +423,7 @@ class TemporarySaver(object):
if
(
if
(
group_tags
!=
_sortedtags
(
my_group_tags
)
group_tags
!=
_sortedtags
(
my_group_tags
)
or
local_tags
!=
_sortedtags
(
my_local_tags
)):
or
local_tags
!=
_sortedtags
(
my_local_tags
)):
raise
Value
Error
(
raise
Loopy
Error
(
"
inconsistent parallel tags across instructions that access
"
"
inconsistent parallel tags across instructions that access
"
"'
%s
'
(specifically, instruction
'
%s
'
has tags
'
%s
'
but
"
"'
%s
'
(specifically, instruction
'
%s
'
has tags
'
%s
'
but
"
"
instruction
'
%s
'
has tags
'
%s
'
)
"
"
instruction
'
%s
'
has tags
'
%s
'
)
"
...
...
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