-
- Some important microscope calibration data is currently missing.
-
+ Some important microscope calibration data is currently missing.
Your microscope will still function, however some functionality will be limited, and image
diff --git a/webapp/src/components/tabContentComponents/aboutComponents/devTools.vue b/webapp/src/components/tabContentComponents/aboutComponents/devTools.vue
index 2459ca7d..2f3a2152 100644
--- a/webapp/src/components/tabContentComponents/aboutComponents/devTools.vue
+++ b/webapp/src/components/tabContentComponents/aboutComponents/devTools.vue
@@ -7,9 +7,7 @@
Reload web app with new origin
-
+
@@ -21,7 +19,7 @@ export default {
components: {},
- data: function() {
+ data: function () {
return {
newOrigin: this.$store.state.overrideOrigin,
reloadWhenOverridingOrigin: true,
@@ -29,7 +27,7 @@ export default {
},
methods: {
- overrideAPIHost: function(event) {
+ overrideAPIHost: function (event) {
// Save the origin override, so that if we reload the web app, you can easily
this.$store.commit("changeOverrideOrigin", this.newOrigin);
diff --git a/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue b/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue
index 898c4989..2a045bb2 100644
--- a/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue
+++ b/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue
@@ -50,9 +50,7 @@
Stage positioning is disabled since no stage is connected.
-
- Please check all data and power connections to your motor controller board.
-
+
Please check all data and power connections to your motor controller board.
@@ -160,7 +158,7 @@ export default {
syncPropertyButton,
},
- data: function() {
+ data: function () {
return {
setPosition: null,
isAutofocusing: 0,
@@ -178,13 +176,13 @@ export default {
invert() {
return this.$store.state.navigationInvert;
},
- baseUri: function() {
+ baseUri: function () {
return this.$store.getters.baseUri;
},
- positionStatusUri: function() {
+ positionStatusUri: function () {
return `${this.baseUri}/stage/position`;
},
- moveInImageCoordinatesUri: function() {
+ moveInImageCoordinatesUri: function () {
return this.thingActionUrl("camera_stage_mapping", "move_in_image_coordinates");
},
},
@@ -235,7 +233,7 @@ export default {
methods: {
timeout(ms) {
- return new Promise(resolve => setTimeout(resolve, ms));
+ return new Promise((resolve) => setTimeout(resolve, ms));
},
async move(x, y, z, absolute) {
// Move the stage, by updating the controls and starting a move task
@@ -260,7 +258,7 @@ export default {
async startMoveTask() {
await this.$refs.moveButton.startTask();
},
- moveInImageCoordinatesRequest: function(x, y) {
+ moveInImageCoordinatesRequest: function (x, y) {
// If not movement-locked
if (!this.moveLock) {
// Lock move requests
@@ -281,7 +279,7 @@ export default {
.then(() => {
this.updatePosition(); // Update the position in text boxes
})
- .catch(error => {
+ .catch((error) => {
this.modalError(error); // Let mixin handle error
})
.then(() => {
@@ -294,7 +292,7 @@ export default {
this.setPosition = await this.readThingProperty("stage", "position");
},
- handleCaptureResponse: async function(response) {
+ handleCaptureResponse: async function (response) {
// Retrieve the captured image and save it
let imageUri = response.output.href;
if (!imageUri) {
diff --git a/webapp/src/components/tabContentComponents/loggingContent.vue b/webapp/src/components/tabContentComponents/loggingContent.vue
index 46cc6a53..56bb19c6 100644
--- a/webapp/src/components/tabContentComponents/loggingContent.vue
+++ b/webapp/src/components/tabContentComponents/loggingContent.vue
@@ -92,7 +92,7 @@ export default {
EndpointButton,
},
- data: function() {
+ data: function () {
return {
maxitems: 20,
page: 1,
@@ -103,11 +103,11 @@ export default {
},
computed: {
- filteredLevels: function() {
+ filteredLevels: function () {
let cutoffIndex = this.allLevels.indexOf(this.filterLevel);
return this.allLevels.slice(cutoffIndex, -1);
},
- filteredItems: function() {
+ filteredItems: function () {
var items = [];
for (var item of this.logs) {
// Add to capture list if matched
@@ -118,17 +118,17 @@ export default {
return items;
},
- logURI: function() {
+ logURI: function () {
return `${this.$store.getters.baseUri}/log/`;
},
- logFileURI: function() {
+ logFileURI: function () {
return `${this.$store.getters.baseUri}/logfile/`;
},
- pagedItems: function() {
+ pagedItems: function () {
let startIndex = (this.page - 1) * this.maxitems;
return this.filteredItems.slice(startIndex, startIndex + this.maxitems);
},
- numberOfPages: function() {
+ numberOfPages: function () {
return Math.floor(this.filteredItems.length / this.maxitems);
},
},
@@ -190,12 +190,12 @@ export default {
}
this.logs = logs.reverse(); // Display in reverse chronological order
},
- formatDateTime: function(isoDateTimeString) {
+ formatDateTime: function (isoDateTimeString) {
isoDateTimeString = isoDateTimeString.replace(",", ".");
let date = new Date(isoDateTimeString);
return date.toLocaleDateString() + " " + date.toLocaleTimeString();
},
- escapeText: function(unsafeText) {
+ escapeText: function (unsafeText) {
let div = document.createElement("div");
div.innerText = unsafeText;
return div.innerHTML;
diff --git a/webapp/src/components/tabContentComponents/powerContent.vue b/webapp/src/components/tabContentComponents/powerContent.vue
index 4257be8a..ecb1c419 100644
--- a/webapp/src/components/tabContentComponents/powerContent.vue
+++ b/webapp/src/components/tabContentComponents/powerContent.vue
@@ -35,14 +35,14 @@ export default {
components: {},
- data: function() {
+ data: function () {
return {
isRaspberrypi: undefined,
};
},
computed: {
- things: function() {
+ things: function () {
return this.$store.getters["wot/thingDescriptions"];
},
},
@@ -52,7 +52,7 @@ export default {
},
methods: {
- systemRequest: function(action) {
+ systemRequest: function (action) {
let message = "";
if (action == "reboot") {
message = "Restart microscope?";
diff --git a/webapp/src/components/tabContentComponents/scanListComponents/openSeadragonViewer.vue b/webapp/src/components/tabContentComponents/scanListComponents/openSeadragonViewer.vue
index 8b37c435..212534cf 100644
--- a/webapp/src/components/tabContentComponents/scanListComponents/openSeadragonViewer.vue
+++ b/webapp/src/components/tabContentComponents/scanListComponents/openSeadragonViewer.vue
@@ -29,7 +29,7 @@ export default {
},
},
- data: function() {
+ data: function () {
return {
osdViewer: null,
};
diff --git a/webapp/src/components/tabContentComponents/scanListComponents/scanCard.vue b/webapp/src/components/tabContentComponents/scanListComponents/scanCard.vue
index 5c9e6ea3..a031b914 100644
--- a/webapp/src/components/tabContentComponents/scanListComponents/scanCard.vue
+++ b/webapp/src/components/tabContentComponents/scanListComponents/scanCard.vue
@@ -35,9 +35,7 @@
button-label="Download JPEG"
/>
-
+
@@ -62,9 +60,7 @@
No scans available
-
- There are no scans available to show.
-
+
There are no scans available to show.
{
return getters.ready;
},
- ready => {
+ (ready) => {
if (ready) {
// If the connection is now ready, update capture list
this.updateScans();
@@ -205,7 +201,7 @@ export default {
if (!scans | (scans.length == 0)) {
this.scans = scans;
}
- scans.forEach(scan => {
+ scans.forEach((scan) => {
scan.can_stitch = !scan.stitch_available && scan.number_of_images > 3;
});
scans.sort((a, b) => {
diff --git a/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue b/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue
index 53c909f0..fc3359c4 100644
--- a/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue
+++ b/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue
@@ -6,9 +6,7 @@
:button-primary="true"
:can-terminate="true"
:requires-confirmation="true"
- :confirmation-message="
- 'Start recalibration of the stage to the camera? This may take a while, and the microscope will be locked during this time.'
- "
+ :confirmation-message="'Start recalibration of the stage to the camera? This may take a while, and the microscope will be locked during this time.'"
thing="camera_stage_mapping"
action="calibrate_xy"
:submit-label="'Auto-Calibrate Using Camera'"
@@ -26,9 +24,9 @@
>
Download Calibration Data
-
- Calibration Details
+
+
+ Calibration DetailsCSM calculated for images with a resolution of {{ csmResolution }}