Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
6b587da8
Commit
6b587da8
authored
9 years ago
by
Matthew D Jones
Browse files
Options
Downloads
Plain Diff
Merge pull request #14314 from mantidproject/feature/14282_fix_transmission_label_in_CANSAS
Set units instead of unit label
parents
c0bfd5b5
e7deef0e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/DataHandling/src/SaveCanSAS1D2.cpp
+1
-1
1 addition, 1 deletion
Framework/DataHandling/src/SaveCanSAS1D2.cpp
with
1 addition
and
1 deletion
Framework/DataHandling/src/SaveCanSAS1D2.cpp
+
1
−
1
View file @
6b587da8
...
@@ -194,7 +194,7 @@ void SaveCanSAS1D2::createSASTransElement(std::string &sasTrans,
...
@@ -194,7 +194,7 @@ void SaveCanSAS1D2::createSASTransElement(std::string &sasTrans,
std
::
stringstream
trans
;
std
::
stringstream
trans
;
trans
<<
"
\n\t\t
<SAStransmission_spectrum name=
\"
"
<<
name
<<
"
\"
>"
;
trans
<<
"
\n\t\t
<SAStransmission_spectrum name=
\"
"
<<
name
<<
"
\"
>"
;
std
::
string
t_unit
=
m_ws
->
YUnit
Label
();
std
::
string
t_unit
=
m_ws
->
YUnit
();
std
::
string
lambda_unit
=
m_ws
->
getAxis
(
0
)
->
unit
()
->
label
();
std
::
string
lambda_unit
=
m_ws
->
getAxis
(
0
)
->
unit
()
->
label
();
if
(
t_unit
.
empty
())
if
(
t_unit
.
empty
())
t_unit
=
"none"
;
t_unit
=
"none"
;
...
...
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