Skip to content

Commit

Permalink
Merge pull request #437 from africanmathsinitiative/master
Browse files Browse the repository at this point in the history
updated branch
  • Loading branch information
conlooptechnologies authored Oct 25, 2023
2 parents 23abea8 + 8036fe6 commit 9ce1c38
Show file tree
Hide file tree
Showing 16 changed files with 540 additions and 804 deletions.
6 changes: 5 additions & 1 deletion instat/Model/Output/clsOutputElement.vb
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,15 @@ Public Class clsOutputElement
_strOutput = strOutput
End Sub

''' <summary>
''' <summary>
''' Gets formatted R Script, split into R Script Elements
''' </summary>
''' <returns></returns>
Public ReadOnly Property FormattedRScript As List(Of clsRScriptElement)

'todo.
'this function may end up being called multiple times. For long scripts initialising clsRScript And getting tokens takes lot of time. You can test this effect by pasting new data frame that has many columns.
'should the operation of getting tokens be done just once then stored to be reused f need be?
Get
Dim _lstRScriptElements As New List(Of clsRScriptElement)
Try
Expand Down
2 changes: 1 addition & 1 deletion instat/UserControl/ucrOutputPage.vb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Public Class ucrOutputPage
'whether it's just a script output

'todo. temporary fix. Output element should always have an R script
If outputElement.FormattedRScript IsNot Nothing Then
If outputElement.Script IsNot Nothing Then
AddNewScript(outputElement)
End If

Expand Down
240 changes: 235 additions & 5 deletions instat/dlgPasteNewColumns.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9ce1c38

Please sign in to comment.