File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ class TrajectoryViewer {
147
147
const foundInstances = [ ] ;
148
148
149
149
for ( const instanceName of instancePatterns ) {
150
- const trajPath = `data/${ experimentName } /${ instanceName } /${ instanceName } .traj.json` ;
150
+ const trajPath = `/mini-traj-web-browser/ data/${ experimentName } /${ instanceName } /${ instanceName } .traj.json` ;
151
151
152
152
try {
153
153
const response = await fetch ( trajPath , { method : 'HEAD' } ) ;
@@ -384,7 +384,7 @@ class TrajectoryViewer {
384
384
loadingIndicator . style . display = 'block' ;
385
385
386
386
try {
387
- const trajPath = `data/${ this . currentExperiment . name } /${ this . currentInstance } /${ this . currentInstance } .traj.json` ;
387
+ const trajPath = `/mini-traj-web-browser/ data/${ this . currentExperiment . name } /${ this . currentInstance } /${ this . currentInstance } .traj.json` ;
388
388
const response = await fetch ( trajPath ) ;
389
389
390
390
if ( ! response . ok ) {
@@ -400,7 +400,7 @@ class TrajectoryViewer {
400
400
<div class="error">
401
401
<p><strong>Error loading trajectory data:</strong></p>
402
402
<p>${ error . message } </p>
403
- <p>Path: data/${ this . currentExperiment . name } /${ this . currentInstance } /${ this . currentInstance } .traj.json</p>
403
+ <p>Path: /mini-traj-web-browser/ data/${ this . currentExperiment . name } /${ this . currentInstance } /${ this . currentInstance } .traj.json</p>
404
404
</div>
405
405
` ;
406
406
} finally {
You can’t perform that action at this time.
0 commit comments