Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
empyre
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
Container Registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dieter Weber
empyre
Commits
d42a94bf
Commit
d42a94bf
authored
5 years ago
by
Jan Caron
Browse files
Options
Downloads
Patches
Plain Diff
changed jutil repo from jugit to iffgit
parent
9dcdabdd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
pyramid/dataset.py
+3
-3
3 additions, 3 deletions
pyramid/dataset.py
with
7 additions
and
7 deletions
.gitlab-ci.yml
+
4
−
4
View file @
d42a94bf
...
@@ -31,7 +31,7 @@ test_miniconda:
...
@@ -31,7 +31,7 @@ test_miniconda:
-
conda uninstall mayavi vtk -y
# TODO: necessary, because mayavi does not play nice with qt5!
-
conda uninstall mayavi vtk -y
# TODO: necessary, because mayavi does not play nice with qt5!
-
conda install pyqt=5
# TODO: This is needed for tests to run, but breaks mayavi (not used)!
-
conda install pyqt=5
# TODO: This is needed for tests to run, but breaks mayavi (not used)!
# Install jutil via secure ssh connection:
# Install jutil via secure ssh connection:
-
pip install git+ssh://gitlab@
ju
git.fz-juelich.de/unger/jutil.git
-
pip install git+ssh://gitlab@
iff
git.fz-juelich.de/unger/jutil.git
# Execute tests:
# Execute tests:
-
python setup.py test
-
python setup.py test
# Create coverage report:
# Create coverage report:
...
@@ -58,7 +58,7 @@ test_conda_ubuntu:
...
@@ -58,7 +58,7 @@ test_conda_ubuntu:
-
conda uninstall mayavi vtk -y
# TODO: necessary, because mayavi does not play nice with qt5!
-
conda uninstall mayavi vtk -y
# TODO: necessary, because mayavi does not play nice with qt5!
-
conda install pyqt=5
# TODO: This is needed for tests to run, but breaks mayavi (not used)!
-
conda install pyqt=5
# TODO: This is needed for tests to run, but breaks mayavi (not used)!
# Install jutil via secure ssh connection:
# Install jutil via secure ssh connection:
-
pip install git+ssh://git@
ju
git.fz-juelich.de:j.ungermann/jutil.git
-
pip install git+ssh://git@
iff
git.fz-juelich.de:j.ungermann/jutil.git
# Execute tests:
# Execute tests:
-
python setup.py test
-
python setup.py test
...
@@ -71,7 +71,7 @@ test_pip_minimal:
...
@@ -71,7 +71,7 @@ test_pip_minimal:
# Install requirements:
# Install requirements:
-
pip install -e .['tests']
# TODO: other case with ['all']? After getting rid of mayavi...
-
pip install -e .['tests']
# TODO: other case with ['all']? After getting rid of mayavi...
# Install jutil via secure ssh connection:
# Install jutil via secure ssh connection:
-
pip install git+ssh://git@
ju
git.fz-juelich.de:j.ungermann/jutil.git
-
pip install git+ssh://git@
iff
git.fz-juelich.de:j.ungermann/jutil.git
# Execute tests:
# Execute tests:
-
python setup.py test
-
python setup.py test
...
@@ -82,7 +82,7 @@ test_pip_requirements:
...
@@ -82,7 +82,7 @@ test_pip_requirements:
# Install requirements:
# Install requirements:
-
pip install -r requirements.txt
# TODO: mayavi/pyfftw commented out by hand to make work!
-
pip install -r requirements.txt
# TODO: mayavi/pyfftw commented out by hand to make work!
# Install jutil via secure ssh connection:
# Install jutil via secure ssh connection:
-
pip install git+ssh://git@
ju
git.fz-juelich.de:j.ungermann/jutil.git
-
pip install git+ssh://git@
iff
git.fz-juelich.de:j.ungermann/jutil.git
# Execute tests:
# Execute tests:
-
python setup.py test
-
python setup.py test
...
...
This diff is collapsed.
Click to expand it.
pyramid/dataset.py
+
3
−
3
View file @
d42a94bf
...
@@ -214,7 +214,7 @@ class DataSet(object):
...
@@ -214,7 +214,7 @@ class DataSet(object):
if
type
(
phasemapper
)
is
not
list
:
if
type
(
phasemapper
)
is
not
list
:
phasemapper
=
[
phasemapper
]
*
len
(
phasemap
)
phasemapper
=
[
phasemapper
]
*
len
(
phasemap
)
assert
len
(
phasemap
)
==
len
(
projector
),
\
assert
len
(
phasemap
)
==
len
(
projector
),
\
(
f
'
Phasemaps and projectors must have same
'
(
'
Phasemaps and projectors must have same
'
+
f
'
length(phasemaps:
{
len
(
phasemap
)
}
, projectors:
{
len
(
projector
)
}
)!
'
)
+
f
'
length(phasemaps:
{
len
(
phasemap
)
}
, projectors:
{
len
(
projector
)
}
)!
'
)
for
i
in
range
(
len
(
phasemap
)):
for
i
in
range
(
len
(
phasemap
)):
self
.
_append_single
(
phasemap
[
i
],
projector
[
i
],
phasemapper
[
i
])
self
.
_append_single
(
phasemap
[
i
],
projector
[
i
],
phasemapper
[
i
])
...
@@ -624,8 +624,8 @@ class DataSetCharge(object):
...
@@ -624,8 +624,8 @@ class DataSetCharge(object):
if
type
(
phasemapper
)
is
not
list
:
if
type
(
phasemapper
)
is
not
list
:
phasemapper
=
[
phasemapper
]
*
len
(
phasemap
)
phasemapper
=
[
phasemapper
]
*
len
(
phasemap
)
assert
len
(
phasemap
)
==
len
(
projector
),
\
assert
len
(
phasemap
)
==
len
(
projector
),
\
(
f
'
Phasemaps and projectors must have same length
'
(
'
Phasemaps and projectors must have same length
'
+
'
(phasemaps: {len(phasemap)}, projectors: {len(projector)})!
'
)
+
f
'
(phasemaps:
{
len
(
phasemap
)
}
, projectors:
{
len
(
projector
)
}
)!
'
)
for
i
in
range
(
len
(
phasemap
)):
for
i
in
range
(
len
(
phasemap
)):
self
.
_append_single
(
phasemap
[
i
],
projector
[
i
],
phasemapper
[
i
])
self
.
_append_single
(
phasemap
[
i
],
projector
[
i
],
phasemapper
[
i
])
# Reset the Se_inv matrix from phasemaps confidence matrices:
# Reset the Se_inv matrix from phasemaps confidence matrices:
...
...
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