Skip to content

Commit e57ad91

Browse files
author
Conner
committed
Updated to v15 Eclipse
1 parent 4ac15aa commit e57ad91

12 files changed

+285
-235
lines changed

PlanQAScript - 2.0.3 - Features.docx

-16.4 KB
Binary file not shown.

PlanQAScript - 2.1.1 - Features.docx

14.8 KB
Binary file not shown.

QAScript/App.xaml.cs

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ private void App_OnStartup(object sender, StartupEventArgs e)
2424
SomeProperties.CourseId = "C1"; // Set course ID property
2525
SomeProperties.PlanId = "UnitTest0"; // Set plan ID property
2626

27-
28-
2927
// Load general settigns;
3028
UserSettings.DefineUserSettings();
3129

QAScript/BDQuery.cs

+106-64
Large diffs are not rendered by default.

QAScript/ESAPIApplication.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class ESAPIApplication
1414
// private to prevent direct instantiation.
1515
private ESAPIApplication()
1616
{
17-
Context = Application.CreateApplication("aria_username", "password");
17+
Context = Application.CreateApplication();
1818
}
1919

2020
public Application Context { get; private set; }

QAScript/GeneralTests.cs

+152-115
Large diffs are not rendered by default.

QAScript/MUHCSpecificTests.cs

-33
This file was deleted.

QAScript/MainCode.cs

-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ public static void RunMainCode(Patient patient, Course course, PlanSetup plan)
2020
// Launch the class that does general plan checks from API retrieved data. Inside this class the code will be the same between the standalone and script versions.
2121
GeneralTests.RunGeneralTests(patient, course, plan);
2222

23-
// Same as above, but it includes the code that's specific to the MUHC
24-
MUHCSpecificTests.RunMUHC(patient, course, plan);
25-
26-
//// Run any other hospital-specific or unique tests here in a new class as done above. ////
27-
// //
28-
//// ////
29-
3023

3124
// Check message to see if anything was found and update the msg property.
3225
string msg = SomeProperties.MsgString;

QAScript/QAScript.csproj

+6-5
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,13 @@
100100
<Reference Include="System.Xaml">
101101
<RequiredTargetFramework>4.0</RequiredTargetFramework>
102102
</Reference>
103-
<Reference Include="VMS.TPS.Common.Model.API">
104-
<HintPath>C:\Program Files (x86)\Varian\Vision\11.0\Bin64\VMS.TPS.Common.Model.API.dll</HintPath>
103+
<Reference Include="VMS.TPS.Common.Model.API, Version=1.0.300.11, Culture=neutral, PublicKeyToken=305b81e210ec4b89, processorArchitecture=AMD64">
104+
<SpecificVersion>False</SpecificVersion>
105+
<HintPath>C:\Program Files (x86)\Varian\RTM\15.6\esapi\API\VMS.TPS.Common.Model.API.dll</HintPath>
105106
</Reference>
106-
<Reference Include="VMS.TPS.Common.Model.Types">
107-
<HintPath>C:\Program Files (x86)\Varian\Vision\11.0\Bin64\VMS.TPS.Common.Model.Types.dll</HintPath>
107+
<Reference Include="VMS.TPS.Common.Model.Types, Version=1.0.300.11, Culture=neutral, PublicKeyToken=305b81e210ec4b89, processorArchitecture=AMD64">
108+
<SpecificVersion>False</SpecificVersion>
109+
<HintPath>C:\Program Files (x86)\Varian\RTM\15.6\esapi\API\VMS.TPS.Common.Model.Types.dll</HintPath>
108110
</Reference>
109111
<Reference Include="WindowsBase" />
110112
<Reference Include="PresentationCore" />
@@ -123,7 +125,6 @@
123125
<Compile Include="ESAPIApplication.cs" />
124126
<Compile Include="GeneralTests.cs" />
125127
<Compile Include="MainCode.cs" />
126-
<Compile Include="MUHCSpecificTests.cs" />
127128
<Compile Include="SomeProperties.cs" />
128129
<Compile Include="UserSettings.cs" />
129130
<Compile Include="Views\DetailsWindow.xaml.cs">

QAScript/QAScriptChangelog.txt

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
QA Script Changelog
22

3+
v2.1.1 (19 Mar 2020)
4+
- Changed dose resolution checks to use the dose.Xres property instead of the calculation options property.
5+
- When looking for RadCalc points, it just searches for "rad" instead of "radc".
6+
- Excludes sc+ax plans when checking the "ant" and "post" field naming
7+
- Added check to complain if a radcal point is not found for plans that have fields of type: "Arc".
8+
9+
v2.1.0 (9 Mar 2020)
10+
- Upgrade to Eclipse v15 and fixed compatibility.
11+
12+
v2.0.4
13+
- Added a treatment field check to make sure that the dose rate is set to the max value.
14+
- Fixed the McGill SC+AX logic for the post fields and the extended option. Also, now only applies at non-setup fields.
15+
- Fixed the field naming logic so that the details window didn't keep showing unknown for tests that passed.
16+
- Modified the check for table angles in the field names to exclude electron fields
17+
318
v2.0.3
419
- Added a check for SC+AX fields to make sure the "extended" option is delected for post fields
520
- If the couch angle is not zero, then the angle should be contained in the field name in the form �Txyz� where xyz is the angle
@@ -15,8 +30,5 @@ v2.0
1530
- GUI now has a details button that shows a window listing all the tests performed by the script
1631

1732
v1.4.5
18-
-Added check to find electron fields before checking electron beam model.
19-
-Added "SRS ARC" to techniques that involve checking normalization method is 100% to 95% of the volume.
20-
21-
22-
33+
- Added check to find electron fields before checking electron beam model.
34+
- Added "SRS ARC" to techniques that involve checking normalization method is 100% to 95% of the volume.

QAScript/UserSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ public class UserSettings
1212
public static void DefineUserSettings()
1313
{
1414
SomeProperties.User = "ESAPI Standalone"; // Aria username (just for logging purposes in standalone mode)
15-
SomeProperties.ScriptVersion = "v2.0.3"; //Used to track what version was used in the useage log
15+
SomeProperties.ScriptVersion = "v2.1.1"; //Used to track what version was used in the useage log
1616
SomeProperties.LoggingFlag = false; // Do you want to write to the log file?
17-
SomeProperties.LogPath = @"I:\Tanner\ESAPI\QAScript\log.txt"; // Path for log file.
17+
SomeProperties.LogPath = @"I:\yourpath\log.txt"; // Path for log file.
1818
SomeProperties.DBDataSource = "xxx.xxx.xxx.xxx"; // IP of varian DB.
1919
SomeProperties.DBUserId = "username"; // Username for Varian DB.
2020
SomeProperties.DBPassword = "password"; // Password for Varian DB.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# PlanQAScript
2-
ESAPI Plan QA in Eclipse v11
2+
ESAPI Plan QA in Eclipse v15
33

44
This project is a tool to aid in a physics second check of Eclipse plans. Written for Eclipse version 11. It can function as both a standalone and a script. When functioning as a script, place the "ScriptRelay.cs" file in your main script directory and edit the path to the .exe. The script relay will pass the context into the exe so the data won't need to be retrieved from the DB a second time.

0 commit comments

Comments
 (0)