-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/clinical options columns #52
Conversation
… into feature/clinical_options_columns
}).catch((err) => { | ||
console.log('Error parsing JSON ->', err) | ||
console.log('Error getting user experiments', err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya que estamos, corregir el mensaje de error. Acá no está trayendo los experimentos del usuario
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dejar el comentario que editaste como estaba antes 'Error parsing JSON ->'. Ese estaba bien! Lo que está mal es el de abajo que dice "Error getting user experiments" cuando en realidad choca contra un endpoint que compara los Samples en común. Debería decir algo como "Error getting samples in common"
@@ -60,12 +60,13 @@ interface NewFileFormProps { | |||
isEditing: boolean, | |||
uploadState: Nullable<UploadState> | |||
uploadFile: () => void, | |||
fileChange: (e: any) => void, | |||
fileChange: any, // (e: any) => void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sacar el comentario
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JAJAJA, recuerdo poner ese any, para probar sin problemas. Ahi lo vuelvo como estaba antes, un (e:any)=> void. Porque recibe almenos un metodo que va a recibir el evento, no un cualquier cosa
@@ -71,6 +71,8 @@ interface ClinicalSourceState { | |||
cgdsStudyName: Nullable<string>, | |||
/** alert interface */ | |||
alert: CustomAlert, | |||
/** posibles values for survival tuple */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Por consistencia, arrancá los comentarios en mayúscula hdp!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vos sabes que nunca me di cuenta ajajaj. Dale ahora lo tomo para toda la documentacion que vaya a hacer. Gracias!
@@ -20,6 +20,8 @@ interface SurvivalTuplesFormProps { | |||
handleSurvivalFormDatasetChanges: (idx: number, name: string, value) => void, | |||
addSurvivalFormTuple: () => void, | |||
removeSurvivalFormTuple: (idx: number) => void | |||
/** posibles values for survival tuple if undefined allows the users to write their own text */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem comentario de más arriba, que arranque con mayúscula el mensaje, así queda igual en toda la plataforma
@@ -57,12 +59,31 @@ export const SurvivalTuplesForm = (props: SurvivalTuplesFormProps) => { | |||
|
|||
const addSurvivalFormTuple = props.addSurvivalFormTuple | |||
|
|||
/** | |||
* method to handle select change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem comentario de arriba
resolve([]) | ||
} | ||
|
||
fileReader.onerror = (event) => reject(event) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acá simplemente se puede hacer fileReader.onerror = reject
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dale, perfecto! Aprovecho y lo añado a la función que busca todos los headers del archivo.
… into feature/clinical_options_columns t :wq :# especially if it merges an updated upstream into a topic branch.
alert: CustomAlert, | ||
/** posibles values for survival tuple */ | ||
/** Posibles values for survival tuple */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -20,7 +20,7 @@ interface SurvivalTuplesFormProps { | |||
handleSurvivalFormDatasetChanges: (idx: number, name: string, value) => void, | |||
addSurvivalFormTuple: () => void, | |||
removeSurvivalFormTuple: (idx: number) => void | |||
/** posibles values for survival tuple if undefined allows the users to write their own text */ | |||
/** Posibles values for survival tuple if undefined allows the users to write their own text */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mismo comentario que arriba sobre la falta
#Fix select from file in survival tuples form