Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HIFIS
Overall
Surveys
HIFIS Surveyval
Commits
197916bd
Commit
197916bd
authored
May 04, 2021
by
mdolling-gfz
Browse files
hand over copy to scripts instead of ref
parent
4152cebb
Pipeline
#71696
passed with stages
in 4 minutes and 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
hifis_surveyval/core/dispatch.py
View file @
197916bd
...
...
@@ -19,6 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""This module allows discovery and dispatch of analysis functions."""
import
copy
import
importlib.util
import
logging
import
traceback
...
...
@@ -147,7 +148,10 @@ class Dispatcher(object):
logging
.
error
(
f
"Failed to load module
{
module_name
}
."
f
"
{
error
}
"
)
try
:
module
.
run
(
hifis_surveyval
=
self
.
surveyval
,
data
=
self
.
data
)
module
.
run
(
hifis_surveyval
=
copy
.
deepcopy
(
self
.
surveyval
),
data
=
copy
.
deepcopy
(
self
.
data
),
)
except
AttributeError
as
error
:
traceback
.
print_exc
()
logging
.
error
(
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment