glycojones / privateer

The Swiss Army knife for carbohydrate structure validation, refinement and analysis
GNU Lesser General Public License v2.1
26 stars 9 forks source link

Update code to use pdb and pdbRedo databases #80

Closed Dialpuri closed 5 months ago

Dialpuri commented 5 months ago

The code is modified to fetch and display data from both 'pdb' and 'pdbRedo' databases. To achieve this, new variables are defined to store the results from each database and fetch operations are carried out separately for each URL. This allows for a more robust display of data in cases where an entry is not found in one database but exists in the other. Also standardize the accessor names to camelCase in 'Constants.tsx' file.

Dialpuri commented 5 months ago

Testing

Suitable test example: 1afa Go to the database page and search for 1afa, confirm that both the PDB and PDB-REDO graphs and tables show