-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix env #652
Conversation
dependencies: | ||
- cairo | ||
- cairocffi | ||
- rmg::cantera >=2.3.0 | ||
- cantera::cantera=2.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe >=
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That operator is not generally considered good practice, at his worst this scrambles your dependencies without the developer's knowing, at this best it gives you exactly what you want.
Do you think we should bump numpy more? See #517 |
3ef1985
to
c7ad81a
Compare
Codecov Report
@@ Coverage Diff @@
## main #652 +/- ##
=======================================
Coverage 73.12% 73.13%
=======================================
Files 99 99
Lines 26284 26277 -7
Branches 5497 5497
=======================================
- Hits 19221 19217 -4
+ Misses 5700 5698 -2
+ Partials 1363 1362 -1
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
c5a545d
to
22dbb68
Compare
arc/plotter.py
Outdated
plt.savefig(image_path, bbox_inches='tight') | ||
try: | ||
plt.savefig(image_path, bbox_inches='tight') | ||
except FileNotFoundError: |
Check notice
Code scanning / CodeQL
Empty except
functional/functional_test.py
Outdated
This module that contains functional tests for ARC | ||
""" | ||
|
||
from encodings import utf_8 |
Check notice
Code scanning / CodeQL
Unused import
functional/functional_test.py
Outdated
from encodings import utf_8 | ||
import os | ||
import shutil | ||
import subprocess |
Check notice
Code scanning / CodeQL
Unused import
arc/species/zmat.py
Outdated
@@ -36,7 +36,7 @@ | |||
|
|||
from arc.common import get_logger, is_angle_linear, key_by_val, determine_top_group_indices | |||
from arc.exceptions import ZMatError | |||
from arc.species.vectors import calculate_distance, calculate_angle, calculate_dihedral_angle, get_vector_length | |||
from arc.species.vectors import calculate_param, get_vector_length |
Check failure
Code scanning / CodeQL
Module-level cyclic import
arc/species/zmat.py
Outdated
@@ -36,7 +36,7 @@ | |||
|
|||
from arc.common import get_logger, is_angle_linear, key_by_val, determine_top_group_indices | |||
from arc.exceptions import ZMatError | |||
from arc.species.vectors import calculate_distance, calculate_angle, calculate_dihedral_angle, get_vector_length | |||
from arc.species.vectors import calculate_param, get_vector_length |
Check failure
Code scanning / CodeQL
Module-level cyclic import
arc/job/adapters/ts/kinbot_test.py
Outdated
""" | ||
|
||
import os | ||
import pytest |
Check notice
Code scanning / CodeQL
Unused import
arc/common.py
Outdated
@@ -1618,7 +1622,7 @@ | |||
break | |||
|
|||
|
|||
def sort_atoms_in_decending_label_order(mol: 'Molecule') -> None: | |||
def sort_atoms_in_descending_label_order(mol: 'Molecule') -> None: |
Check warning
Code scanning / CodeQL
Variable defined multiple times
|
This is due to the recent rmg environment update. removed nosetests (deprecated), xTB (not needed) and updated numpy and cantera versions. Also added anaconda channel, for openssl.
It appears we did not fully update which xtb we use. Even though we installed xtb_env (xtb = 6.6.0), we kept using xtb in arc_env (xtb = 6.3.3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to me with the exception of the minor pedantic removal of certain paths when looking for xtb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
I don't support locking dependable versions using a =
, I do think we should allow >=
Other than that it's good to go
Are we clear to merge? |
This PR contains two features:
@wip
decorator with a one that is not dependent on nosetests.