Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
mag-core
Commits
ac8b5b87
Verified
Commit
ac8b5b87
authored
Oct 22, 2020
by
Tobias WEBER
Browse files
using common resource dir
parent
5bd40b56
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
ac8b5b87
...
...
@@ -25,12 +25,14 @@
*.out
*.app
# External libraries
# External libraries
and resources
ext/**
plugins/**
data/**
res/**
tlibs
tlibs2
data
# Temporary files
tmp/**
...
...
res
0 → 120000
View file @
ac8b5b87
data/res
\ No newline at end of file
tools/magsgbrowser/browser.cpp
View file @
ac8b5b87
...
...
@@ -80,7 +80,7 @@ SgBrowserDlg::SgBrowserDlg(QWidget* pParent, QSettings *pSett)
void
SgBrowserDlg
::
SetupMagSpaceGroups
()
{
std
::
cerr
<<
"Loading magnetic space groups ... "
;
m_magsgs
.
Load
(
"data/magsg.info"
);
m_magsgs
.
Load
(
"
res/
data/magsg.info"
);
std
::
cerr
<<
"Done."
<<
std
::
endl
;
const
auto
*
pSgs
=
m_magsgs
.
GetSpacegroups
();
...
...
tools/setup/convmag.cpp
View file @
ac8b5b87
...
...
@@ -441,7 +441,7 @@ int main(int argc, char **argv)
if
(
argc
>=
3
)
convert_table
(
argv
[
1
],
argv
[
2
]);
else
convert_table
(
"ext/magsg.dat"
,
"data/magsg.info"
);
convert_table
(
"ext/magsg.dat"
,
"
res/
data/magsg.info"
);
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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