Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tomwer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
tomotools
tomwer
Commits
cc84d32d
Commit
cc84d32d
authored
4 years ago
by
Tomas Farago
Browse files
Options
Downloads
Patches
Plain Diff
patch isOnLbsram. Scan could be a str or a TomoscanBase
parent
35c2e4b9
Branches
0_5_1
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tomwer/core/process/datalistener/datalistener.py
+1
-1
1 addition, 1 deletion
tomwer/core/process/datalistener/datalistener.py
tomwer/core/settings.py
+4
-1
4 additions, 1 deletion
tomwer/core/settings.py
with
5 additions
and
2 deletions
tomwer/core/process/datalistener/datalistener.py
+
1
−
1
View file @
cc84d32d
...
...
@@ -73,7 +73,7 @@ class DataListener(SingleProcess):
_output_desc
(
name
=
'
data
'
,
type
=
TomwerScanBase
,
doc
=
'
scan path
'
),
]
TIMOUT_READ_FILE
=
1
0
TIMOUT_READ_FILE
=
4
0
"
When the event
'
scan_ended
'
is received all data might not have been write
"
\
"
yet
"
...
...
This diff is collapsed.
Click to expand it.
tomwer/core/settings.py
+
4
−
1
View file @
cc84d32d
...
...
@@ -61,7 +61,10 @@ def isOnLbsram(scan=None):
elif
scan
is
None
:
return
os
.
path
.
isdir
(
get_lbsram_path
())
else
:
return
os
.
path
.
abspath
(
scan
.
path
).
startswith
(
__LBSRAM_PATH
)
if
isinstance
(
scan
,
str
):
return
os
.
path
.
abspath
(
scan
).
startswith
(
__LBSRAM_PATH
)
else
:
return
os
.
path
.
abspath
(
scan
.
path
).
startswith
(
__LBSRAM_PATH
)
def
get_lbsram_path
():
...
...
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