EPiCs-group / obelix

An automated workflow for generation & analysis of bidentate ligand containing complexes
https://epics-group.github.io/obelix/
GNU General Public License v3.0
0 stars 1 forks source link

[TEST] Test descriptor_calculator for various input types #25

Closed akalikadien closed 1 month ago

akalikadien commented 6 months ago

We need to implement test(s) for the following scenario:

Description

Create csv files with descriptors given a set of xyz files, CREST folders or DFT log files

Code Reference


akalikadien commented 3 months ago

The examples for testing the descriptors calculator can be found here: descriptor_calculator_test_examples.zip. As discussed, for maximum code coverage we can have 4 test:

niketagrawal commented 2 months ago

Implementation of this test is being done in the branch 25-test-descriptor-calculator

Done

Issues to fix

Besides the boolean, there were other non-numeric types in the array. They were converted to numeric types using expected_descriptor_values = pd.to_numeric( expected_descriptor_values.flatten(), errors="coerce" ).reshape(expected_descriptor_values.shape)