Skip to content

Commit

Permalink
Fix tests diff by removing absolut path
Browse files Browse the repository at this point in the history
It seems like currently report has been generated inside from container.
But the test should work when run from any dev machine
  • Loading branch information
ruslan-forostianov committed Apr 1, 2024
1 parent d230a9c commit c3c84fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/importer/validateData.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ def load_chromosome_lengths(reference_genome, logger):
'downloadChromosomeSizes.py.')

logger.debug("Retrieving chromosome lengths from '%s'",
chrom_size_file)
os.path.basename(chrom_size_file))

try:
chrom_size_dict = chrom_sizes[reference_genome]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_data/study_es_0/result_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ <h4 class="panel-title">General</h4>
<td><span class="glyphicon glyphicon-cog" aria-hidden="true"></span><span class="sr-only">Debug</span></td>
<td>&ndash;</td>
<td>&ndash;</td>
<td>Retrieving chromosome lengths from &#39;/cbioportal-core/src/main/resources/scripts/importer/chromosome_sizes.json&#39;</td>
<td>Retrieving chromosome lengths from &#39;chromosome_sizes.json&#39;</td>
<td>&ndash;</td>
<td></td>
</tr>
<tr class="info">
<td><span class="glyphicon glyphicon-cog" aria-hidden="true"></span><span class="sr-only">Debug</span></td>
<td>&ndash;</td>
<td>&ndash;</td>
<td>Retrieving chromosome lengths from &#39;/cbioportal-core/src/main/resources/scripts/importer/chromosome_sizes.json&#39;</td>
<td>Retrieving chromosome lengths from &#39;chromosome_sizes.json&#39;</td>
<td>&ndash;</td>
<td></td>
</tr>
Expand Down Expand Up @@ -3192,4 +3192,4 @@ <h4 class="panel-title">Legend</h4>
</div>
</div>
</body>
</html>
</html>

0 comments on commit c3c84fe

Please sign in to comment.