Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
mlz
BornAgain
Commits
b6cc82ce
Commit
b6cc82ce
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
rm fcts isIntFile etc
parent
abf1cd54
No related branches found
No related tags found
1 merge request
!1629
IO further cleanup
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Device/IO/DataFormatUtil.cpp
+0
-16
0 additions, 16 deletions
Device/IO/DataFormatUtil.cpp
Device/IO/DataFormatUtil.h
+0
-9
0 additions, 9 deletions
Device/IO/DataFormatUtil.h
with
0 additions
and
25 deletions
Device/IO/DataFormatUtil.cpp
+
0
−
16
View file @
b6cc82ce
...
...
@@ -75,22 +75,6 @@ bool DataUtil::Format::isBZipped(const std::string& name)
return
BaseUtil
::
Filesystem
::
hasExtension
(
name
,
BzipExtension
);
}
bool
DataUtil
::
Format
::
isIntFile
(
const
std
::
string
&
file_name
)
{
return
BaseUtil
::
Filesystem
::
hasExtension
(
uncompressedFilename
(
file_name
),
IntExtension
);
}
bool
DataUtil
::
Format
::
isNicosFile
(
const
std
::
string
&
file_name
)
{
return
BaseUtil
::
Filesystem
::
hasExtension
(
uncompressedFilename
(
file_name
),
NicosExtension
);
}
bool
DataUtil
::
Format
::
isTiffFile
(
const
std
::
string
&
file_name
)
{
return
BaseUtil
::
Filesystem
::
hasExtension
(
uncompressedFilename
(
file_name
),
TiffExtension
)
||
BaseUtil
::
Filesystem
::
hasExtension
(
uncompressedFilename
(
file_name
),
TiffExtension2
);
}
//! Creates axis of certain type from input stream
Scale
*
DataUtil
::
Format
::
parseScale
(
std
::
istream
&
input_stream
)
{
...
...
This diff is collapsed.
Click to expand it.
Device/IO/DataFormatUtil.h
+
0
−
9
View file @
b6cc82ce
...
...
@@ -39,15 +39,6 @@ bool isGZipped(const std::string& name);
//! Returns true if name contains *.bz2 extension
bool
isBZipped
(
const
std
::
string
&
name
);
//! Returns true if file name corresponds to BornAgain native format (compressed or not)
bool
isIntFile
(
const
std
::
string
&
file_name
);
//! Returns true if file name corresponds to Nicos format (compressed or not)
bool
isNicosFile
(
const
std
::
string
&
file_name
);
//! Returns true if file name corresponds to tiff file (can be also compressed)
bool
isTiffFile
(
const
std
::
string
&
file_name
);
Scale
*
parseScale
(
std
::
istream
&
input_stream
);
void
fillDatafield
(
Datafield
*
data
,
std
::
istream
&
input_stream
);
...
...
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