Skip to content

#2627#2628

Merged
saramsey merged 1 commit intomasterfrom
issue-2627
Feb 4, 2026
Merged

#2627#2628
saramsey merged 1 commit intomasterfrom
issue-2627

Conversation

@saramsey
Copy link
Member

@saramsey saramsey commented Feb 3, 2026

See issue 2627 for explanation. Hoping @chunyuma or @mohsenht can review this PR>

@mohsenht
Copy link
Collaborator

mohsenht commented Feb 4, 2026

I’m not very familiar with xDTD
@chunyuma might be more familiar with it.

@mohsenht mohsenht removed their request for review February 4, 2026 00:22
@saramsey
Copy link
Member Author

saramsey commented Feb 4, 2026

I can confirm, when running the pytest suite on my dev computer as shown below:

pytest -v --cache-clear --nodatabases --runslow

this branch passes the same number of pytest tests as the master branch.

issue-2627 branch:

==================== 21 failed, 214 passed, 47 skipped, 63 warnings in 4046.13s (1:07:26) ====================

master branch:

==================================== 21 failed, 214 passed, 47 skipped, 67 warnings in 3956.31s (1:05:56) =====================================

and the number of warnings has gone down from 67 to 63.

f"Downloading databases because mismatch in local versions and remote versions was found... (will take a few minutes)")
self.response = DBmanager.update_databases(response=self.response)
#os.system(f"scp {RTXConfig.db_username}@{RTXConfig.db_host}:{RTXConfig.explainable_dtd_db_path} {database}")
raise FileNotFoundError("ARAX database manager indicates that there are missing databases")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @saramsey for the changes. I am ok with this change if we have other scripts that can automatically check and update database version based on the config_dbs.json in advance.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering whether the ARAX database manager can implement any pre-checking and update database version before we submit a request to ARAX system. If so, I think this change is good.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, ARAX database manager checks databases at application start-up.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for reviewing. I will merge.

@saramsey saramsey merged commit e3fc89a into master Feb 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants