BU-ISCIII / iskylims

is an open-source LIMS (laboratory Information Management System) for Next Generation Sequencing sample management, statistics and reports, and bioinformatics analysis service management.
https://github.com/BU-ISCIII/iSkyLIMS/wiki
GNU General Public License v3.0
72 stars 34 forks source link

tables for "Molecules use specification" are shown empty even there are samples to be handled #301

Open luissian opened 1 month ago

luissian commented 1 month ago

Description of the bug

When there are samples/molecules that are filled with the parameters and they ready to define their use in "handilngMolecules" page , None of these samples are displayed.

The error is in the html file, because if there is not sample_availables, then nothing is done for the other tables.

check line 376 of the html.

   {% if sample_availables.sample_heading %} // excel table for new samples 

        var data1 = [{% for values in sample_availables.sample_information %}

The proposal solution is to create an individual checking for each conditions

Command used and terminal output

No response

Relevant files

No response

System information

No response

luissian commented 1 month ago

Modified the html to set the if condition on each individual tab