Skip to content

Commit

Permalink
feat: change wording
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalee committed May 28, 2024
1 parent d67c334 commit 11adc26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import useUserCanEdit from 'hooks/useUserCanEdit';
import { useSnackbar } from 'notistack';
import { useClearProvenance, useProjectUser } from 'pages/Projects/ProjectPage/ProjectStore';
import { useState } from 'react';
import { useQueryClient } from 'react-query';
import { useNavigate, useParams } from 'react-router-dom';

const env = process.env.REACT_APP_ENV as 'DEV' | 'STAGING' | 'PROD';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const SleuthImportWizardCreateMetaAnalyses: React.FC<{
}> = ({ projectId, studysetId, annotationId, sleuthImports }) => {
const { isLoading: getProjectIsLoading, isError: getProjectIsError } =
useGetProjectById(projectId);
const { isLoading, error, isError, createMetaAnalysis } = useCreateAlgorithmSpecification();
const { createMetaAnalysis } = useCreateAlgorithmSpecification();
const [buttonIsLoading, setButtonIsLoading] = useState(false);
const { enqueueSnackbar } = useSnackbar();
const navigate = useNavigate();
Expand Down Expand Up @@ -120,6 +120,13 @@ const SleuthImportWizardCreateMetaAnalyses: React.FC<{
<Typography gutterBottom variant="h6">
Would you like to create a meta-analysis for each file you've uploaded?
</Typography>
<Typography gutterBottom sx={{ marginBottom: '1rem', color: 'muted.main' }}>
This will automatically create a new meta-analysis specification for each
separate file assuming they are distinct sets of coordinates.
<br />
This step is optional. You can skip this and create a custom meta-analysis
later.
</Typography>
<Box>
<ToggleButtonGroup
sx={{ width: '300px' }}
Expand Down Expand Up @@ -150,8 +157,8 @@ const SleuthImportWizardCreateMetaAnalyses: React.FC<{
<Box>
<Typography variant="h6">Which algorithm would you like to use?</Typography>
<Typography gutterBottom color="muted.main">
This option can always be changed later. If you are unsure, we suggest
starting with MKDA as a default
Default parameters will be used. If you are unsure, we suggest starting
with MKDADensity. To replicate GingerALE, select ALE.
</Typography>
<FormControl>
<RadioGroup
Expand Down

0 comments on commit 11adc26

Please sign in to comment.