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
tomotools
tomoscan
Commits
d16d6356
Commit
d16d6356
authored
Mar 16, 2020
by
Pierre Paleo
Browse files
[hdf5scan] Remove occurences to tomwer in MockScan
parent
6eeedd3b
Pipeline
#22948
failed with stages
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tomoscan/esrf/mock.py
View file @
d16d6356
...
...
@@ -35,8 +35,7 @@ import os
from
xml.etree
import
cElementTree
import
fabio
import
fabio.edfimage
from
tomoscan.esrf.hdf5scan
import
ImageKey
from
tomwer.core.scan.hdf5scan
import
HDF5TomoScan
from
.hdf5scan
import
ImageKey
,
HDF5TomoScan
class
_ScanMock
:
...
...
@@ -517,7 +516,7 @@ class MockEDF(_ScanMock):
assert
type
(
nRadio
)
is
int
assert
type
(
nRecons
)
is
int
assert
type
(
dim
)
is
int
from
tomwer.core.scan
.scanfactory
import
ScanFactory
# avoid cyclic import
from
.
.scanfactory
import
ScanFactory
# avoid cyclic import
MockEDF
.
fastMockAcquisition
(
folder
=
scanID
,
n_radio
=
nRadio
,
scan_range
=
scan_range
,
n_extra_radio
=
n_extra_radio
)
...
...
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