Skip to content

Commit

Permalink
Merge pull request #495 from IDEMSInternational/master
Browse files Browse the repository at this point in the history
updated my master
  • Loading branch information
Patowhiz authored Sep 13, 2024
2 parents 5bb25f1 + 52b3182 commit 2cf3eb5
Show file tree
Hide file tree
Showing 27 changed files with 3,241 additions and 2,020 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CreateInstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:

# upload 32 bit installer without R
- name: Upload the 32 bit installer as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand All @@ -113,7 +113,7 @@ jobs:

# Upload 64 bit installer without R
- name: Upload the 64 bit installer as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
shell: cmd

- name: Upload the 64 bit installer with R as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand All @@ -208,7 +208,7 @@ jobs:
shell: cmd

- name: Upload the 32 bit installer with R as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand Down
13 changes: 11 additions & 2 deletions instat/dlgColumnStats.vb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Public Class dlgColumnStats
ucrBase.clsRsyntax.iCallType = 0
ucrBase.iHelpTopicID = 64

ucrChkDropUnusedLevels.Enabled = False ' removed this functionality so this is disabled
'ucrChkDropUnusedLevels.Enabled = False ' removed this functionality so this is disabled
cmdMissingOptions.Enabled = False

ucrSelectorForColumnStatistics.SetParameter(New RParameter("data_name", 0))
Expand All @@ -56,6 +56,7 @@ Public Class dlgColumnStats
ucrReceiverSelectedVariables.SetParameter(New RParameter("columns_to_summarise", 1))
ucrReceiverSelectedVariables.SetParameterIsString()
ucrReceiverSelectedVariables.Selector = ucrSelectorForColumnStatistics
'ucrReceiverSelectedVariables.SetSingleTypeStatus(True)

ucrReceiverByFactor.SetParameter(New RParameter("factors", 2))
ucrReceiverByFactor.Selector = ucrSelectorForColumnStatistics
Expand All @@ -79,7 +80,7 @@ Public Class dlgColumnStats
ucrChkDropUnusedLevels.SetParameter(New RParameter("drop", 5))
ucrChkDropUnusedLevels.SetText("Drop Unused Levels")
ucrChkDropUnusedLevels.SetValuesCheckedAndUnchecked("TRUE", "FALSE")
ucrChkDropUnusedLevels.SetRDefault("FALSE")
ucrChkDropUnusedLevels.SetRDefault("TRUE")

ucrChkOmitMissing.SetParameter(New RParameter("na.rm", 6))
ucrChkOmitMissing.SetText("Omit Missing Values")
Expand Down Expand Up @@ -121,6 +122,7 @@ Public Class dlgColumnStats
clsDefaultFunction.AddParameter("silent", "TRUE")
ucrBase.clsRsyntax.SetBaseRFunction(clsDefaultFunction)
bResetSubdialog = True

End Sub

Public Sub SetRCodeForControls(bReset As Boolean)
Expand Down Expand Up @@ -225,6 +227,13 @@ Public Class dlgColumnStats
sdgMissingOptions.ShowDialog()
End Sub

'Private Sub ucrReceiverSelectedVariables_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrReceiverSelectedVariables.ControlValueChanged
' Dim bSameType As Boolean = Not ucrReceiverSelectedVariables.IsEmpty _
' AndAlso ucrReceiverSelectedVariables.GetCurrentItemTypes().All(Function(x) x = "factor")
' ucrChkDropUnusedLevels.Enabled = bSameType
' ucrChkDropUnusedLevels.Checked = Not bSameType
'End Sub

Private Sub CoreControls_ControlContentsChanged(ucrChangedControl As ucrCore) Handles ucrChkPrintOutput.ControlContentsChanged, ucrChkStoreResults.ControlContentsChanged
TestOKEnabled()
End Sub
Expand Down
137 changes: 118 additions & 19 deletions instat/dlgImportFromRapidPro.Designer.vb

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

3 changes: 3 additions & 0 deletions instat/dlgImportFromRapidPro.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ttFlow.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
Loading

0 comments on commit 2cf3eb5

Please sign in to comment.