Skip to content

Commit

Permalink
Remove required channels for segmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
elaubsch committed Mar 15, 2022
1 parent 718b6bd commit a0ef36d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Predict/SegmentationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SegmentationForm.propTypes = {

export default function SegmentationForm({ selectJobType, setJobForm }) {
const modelResolution = jobData.segmentation.modelResolution;
const channels = jobData.segmentation.requiredChannels;
const channels = ['nuclei', 'cytoplasm'];
const [requiredChannels] = useState(Array(channels.length).fill(false));
const [selectedChannels, setSelectedChannels] = useState([...Array(channels.length).keys()]);
const [scale, setScale] = useState(1);
Expand Down Expand Up @@ -60,4 +60,4 @@ export default function SegmentationForm({ selectJobType, setJobForm }) {
</Paper>
</Grid>
);
}
}
2 changes: 1 addition & 1 deletion src/Predict/jobData.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const jobCards = {
thumbnail: 'thumbnails/HeLa_nuclear_color.png',
scaleEnabled: true,
channelEnabled: true,
requiredChannels: ['nuclei', 'cytoplasm'],
requiredChannels: [],
modelResolution: 0.5,
canOpenInLabel: true,
},
Expand Down

0 comments on commit a0ef36d

Please sign in to comment.