How to use qiime tools make-report (qiime2-amplicon-2025.10)

Hi @Jose_Goyco-Blas,

That is expected, you would need to run a command such as python -m http.server inside that directory in order for index.html to function.

The issue is that the report is making HTTP requests to the `subfigures/index.json`, which under the file:// protocol (the URL when you double-click on HTML file) is considered a different Origin, so Cross-Origin-Resource-Sharing policies kick in and prevent the load of the sub-resources.

None of this is an issue when you run it under a static file-server as now the entire directory lives under the same "Origin”, so the requests for information on the subfigures succeed.

The reason that your procedure works fine for some visualizations is some of them specifically work to avoid cross-orgin requests via very old-school hacks such as including data as a script (JSON-P). But it just wasn’t realistic to implement that for reports and would have made the implementation somewhat convoluted.

1 Like