forked from r03ert0/thresholdmann
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into joss-paper-branch
Update the paper branch to include all the changes implented during the paper review process.
- Loading branch information
Showing
11 changed files
with
600 additions
and
2,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { createServer } from 'http-server'; | ||
|
||
let server; | ||
|
||
const startServer = () => { | ||
server = createServer({ | ||
root: '.' | ||
}); | ||
server.listen('8080', '127.0.0.1'); | ||
|
||
return server; | ||
}; | ||
|
||
export const mochaGlobalSetup = () => { | ||
server = startServer({port: '8080'}); | ||
console.log('server started at 8080'); | ||
}; | ||
|
||
export const mochaGlobalTeardown = async () => { | ||
await server.close(); | ||
console.log('server stopped'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,8 @@ | |
<path d="M48.4 26.5c-.9 0-1.7.7-1.7 1.7v11.6h-43.3v-11.6c0-.9-.7-1.7-1.7-1.7s-1.7.7-1.7 1.7v13.2c0 .9.7 1.7 1.7 1.7h46.7c.9 0 1.7-.7 1.7-1.7v-13.2c0-1-.7-1.7-1.7-1.7zm-24.5 6.1c.3.3.8.5 1.2.5.4 0 .9-.2 1.2-.5l10-11.6c.7-.7.7-1.7 0-2.4s-1.7-.7-2.4 0l-7.1 8.3v-25.3c0-.9-.7-1.7-1.7-1.7s-1.7.7-1.7 1.7v25.3l-7.1-8.3c-.7-.7-1.7-.7-2.4 0s-.7 1.7 0 2.4l10 11.6z"></path> | ||
</svg> | ||
<br /> | ||
<strong id="loadNifti" class="mui mui-push mui-no-border" style="font-weight:500;font-size:16px">Choose</strong> a .nii.gz or a .nii file or drag it here. | ||
<strong id="loadNifti" class="mui mui-push mui-no-border" style="font-weight:500;font-size:16px">Choose</strong> a .nii.gz or a .nii file or drag it here. <br/><br/> | ||
Or try with this <strong id="loadDemoData" class="mui mui-push mui-no-border" style="font-weight:500;font-size:16px">MRI from a Sloth bear</strong>. | ||
</div> | ||
<div class="box_uploading">Uploading…</div> | ||
<div class="box_error">Error! <span></span>.</div> | ||
|
@@ -153,8 +154,8 @@ | |
|
||
<div id="image-adjust"> | ||
<img class="adjustsicon" src="./img/alpha.svg" width="16px"/><input type="range" min="0" max="100" value="50" style="width: 180px" oninput="changeAlpha(event)"><br /> | ||
<img class="adjustsicon" src="./img/adjust.svg" width="16px"/><input type="range" min="0" max="200" value="100" style="width: 180px" oninput="changeBrightness(event)"><br /> | ||
<img class="adjustsicon" src="./img/sun-o.svg" width="16px"/><input type="range" min="0" max="200" value="100" style="width: 180px" oninput="changeContrast(event)"><br /> | ||
<img class="adjustsicon" src="./img/adjust.svg" width="16px"/><input type="range" min="0" max="200" value="100" style="width: 180px" oninput="changeContrast(event)"><br /> | ||
<img class="adjustsicon" src="./img/sun-o.svg" width="16px"/><input type="range" min="0" max="200" value="100" style="width: 180px" oninput="changeBrightness(event)"><br /> | ||
</div> | ||
<br /> | ||
|
||
|
@@ -193,7 +194,7 @@ | |
|
||
<!-- footer --> | ||
<div id="footer"> | ||
Made with 🤍 Katja Heuer & Roberto Toro | ||
Made with 🤍 Katja Heuer, Nicolas Traut & Roberto Toro | ||
</div> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> | ||
|
@@ -238,6 +239,7 @@ | |
}); | ||
|
||
MUI.push(document.querySelector('#loadNifti'), loadNifti); | ||
MUI.push(document.querySelector('#loadDemoData'), loadDemoData); | ||
</script> | ||
|
||
</body> | ||
|
Oops, something went wrong.