Skip to content

Commit

Permalink
Merge branch 'RastonLab:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vanfossen authored Aug 8, 2022
2 parents d56c8a3 + 271e498 commit 950bb2d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/scripts/dataInterpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function calculateSpectrum(
* @returns An object that contains the data from the fetched file(s)
*/
async function fetchDataFile(baseURL, fileXTemp, fileYTemp) {
const fileXUrl = baseURL.concat(fileXTemp, "K.dat");
const fileXUrl = baseURL.concat(fileXTemp, "K.txt");

let fileXResponse, fileXData, fileYData;
try {
Expand All @@ -105,7 +105,7 @@ async function fetchDataFile(baseURL, fileXTemp, fileYTemp) {

if (fileYTemp) {
// construct and fetch the second .dat file (if needed)
const fileYUrl = baseURL.concat(fileYTemp, "K.dat");
const fileYUrl = baseURL.concat(fileYTemp, "K.txt");

let fileYResponse;
try {
Expand Down

0 comments on commit 950bb2d

Please sign in to comment.