-
Notifications
You must be signed in to change notification settings - Fork 6
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
Debug excel enable conversion of data and free text columns of input / output #550
Conversation
@@ -1791,6 +1833,43 @@ let addBuildingBlockAt (excelIndex: int) (newBB: CompositeColumn) (table: Table) | |||
|> List.iteri (fun ci header -> ExcelHelper.addColumnAndRows (float (excelIndex + ci)) table header bodyValues.[ci] |> ignore) | |||
} | |||
|
|||
type BodyCellType = |
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.
This type will be added to Shared as CompositeCellDiscriminate in my pr #549
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.
keep it here and add a [<System.Obsolete("Replace with Shared CompositeCellDiscriminate")>]
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.
fixed
|
||
return | ||
match cellType with | ||
| Some CompositeCellDiscriminate.Unitized -> Some CompositeCellDiscriminate.Term |
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.
This function must be reworked.
Here is what you do as far as i understand it:
goal: Return valid celltypes for conversion based on cellType
- get active table
- try parse to arctable, then take
.Value
without error handling - get selected main column
- check if valid conversion
BUT;
- if
cellType
is term return unitized without any checking against the selected building block - Similiar for
cellType
= Data
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.
fixed (hopefully)
Minor fixes of smaller problems e.g. column sizes adapt correctly now, when a template is added or building block is deleted
Main problem could not be fully solved, requires fix in ARCtrl