Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
4dbb6f1f
Commit
4dbb6f1f
authored
Feb 14, 2021
by
nsoler
Browse files
before coming back to BCN
parent
c14f7629
Changes
1
Show whitespace changes
Inline
Side-by-side
package/chemicalchecker/util/parser/calculate_A_spaces.py
View file @
4dbb6f1f
...
...
@@ -349,9 +349,9 @@ class Aspaces_prop_calculator(object):
assert
space
+
'.001'
in
dictSpaces
.
keys
(),
print
(
"Sign0 for space"
,
space
,
"not fit!!"
)
models_imported
=
False
for
molset
in
(
'full'
):
sign0
=
self
.
cc
.
get_signature
(
'sign0'
,
molset
,
space
+
'.001'
)
# already fitted
sign1
=
self
.
cc
.
get_signature
(
'sign1'
,
molset
,
space
+
'.001'
)
# will get converted to reference by the next fct
sign0
=
self
.
cc
.
get_signature
(
'sign0'
,
'full'
,
space
+
'.001'
)
# already fitted
sign1
=
self
.
cc
.
get_signature
(
'sign1'
,
'full'
,
space
+
'.001'
)
# will get converted to reference by the next fct
sign1
.
clear
()
# import models from the fit that took place in CC_repo 2020_XX
...
...
@@ -361,9 +361,12 @@ class Aspaces_prop_calculator(object):
destination
=
sign1
.
data_path
if
not
os
.
path
.
exists
(
destination
):
print
(
"
\n
Predicting sign1
"
,
molset
,
"
for space"
,
space
,
'to'
,
destination
)
print
(
"
\n
Predicting sign1
full
for space"
,
space
,
'to'
,
destination
)
sign1
.
predict
(
sign0
,
destination
=
destination
)
# reference
sign1
.
save_reference
(
cpu
=
1
)
return
self
.
cc
def
predictSign2
(
self
):
...
...
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