This repository has been archived by the owner on Sep 18, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migration to NUnit (#39) * Added NUnit & Selenium packages to test project * Changed test annotations to target NUnit framework * Removed unused reference to MSTest * Enabled nuget packages caching * Removed strange reference to System.Drawing * .NET interfaces (#40) * Created project, added base for main file * updated project and solution * Extracted algorithms tests to separate test project * Added exclusion of tests into test running script * Enforced all projects to compile in x64 * Resolved ambiguities of MATLAB functions * Changed MATLAB project includes * Added NUnit & Selenium packages to test project * Changed test annotations to target NUnit framework * added algorithm tests to nunit * Excluded algorithm tests * Removed unused MSTest references * Added IDisposable to Algorithms class * Extracted nuget restore to external script * Fixed MATLAB functions to remove ambiguities * Updated MATLAB assembly to new version * Added license headers * Established Spectre.Algorithms.Results namespace DivikResult moved to new namespace GmmModel is new type to maintain EstimateGmm and ApplyGmm functions input and output * Code formatting Added docstrings Renamed private variables Enclosed parts of class into regions Added checks, whether the class have been disposed * Fixed using * Updated DiviK call Updated test Returning some output data * Extracted divik options to external structure * Algorithms class split into 3 with respect to their purpose * Removed direct paths in MATLAB project file * Removed unnecessary files * Added missing exception docstring * Added new minor version number * Added new minor version number (in patching) * Feature/data format (#49) * Initial class layout * Moved spatial coordinates to DataPoint, added GetSize(), added test project, additional fixes. * Reworks, raw data getters, changed format of TXT file. DataPoint getters, documentation, tests yet to come. * DataPoint getters, small bugfixes * Small refactoring, fixes and tweaks. SpaTial coordinates, TryParse instead of Parse, etc. Todo: dataset factory * Starting testing * Ongoing test creation * Continued testing * Added documentation. * Fixed TryParse for parsing doubles. * Small fix for spatial coordinates parsing. * Tests for file creation and appending added * Changed build target, added missing using, enhanced exceptions. Also miscellaneous fixes. * Hotfix for DataPoint and BaseTextDataset methods. * SaveToFile method added to IDataset and BasicTextDataset * Removed Any CPU build target * Finally fixing the platform issue. hopefully * Increase minor version number Increses minor version number to 2, since this branch gets merged * Angular2 project added (#50) * Add Angular2 project Initial Angular2 project has been added to allow us to start work on frontend. A script which installs proper Node.js version on AppVeyor has been added, but not enabled yet, since no tests are present, nor IIS mapping. Second script which helps you set-up your machines has also been added, to provide common environment. * Add automatic Angular2 build on CI Adds and changes scripts necessary to run Angular2 project on AppVeyor. * Fixes scripts naviagtion on AppVeyor Fixed navigation between scripts in CI, to make it find next ones. Removed unnecessary output to improve readibility. * Remove printout, add direct call Removes not working directory printout, adds direct call to script to bind page to IIS: ' * Fix e2e tests Fixes e2e tests as a beginning of migration to Protractor testing * Fill information in package.json * Adds JS e2e testing Purpose of this commit is to check, wheter CI will run NUnit and JS e2e tests. * Adds dotnet testing script Allows to test both dotnet and JS. * Fixes test discovery Disables unnecessary warnings when omitting optional dependencies in npm. Moreover allows to automatically discover tests on CI. * Fixes dotnet testing script Allows CI call NUnit3 tests after last erroneous call. * Add e2e fail and error message to CI Purposeful e2e test failure will check whether scripts work properly.: * Set frontend test to single run Resolves the issue which freezed build on CI. * Stop mute npm test output Allows to find out source of freeze on CI. * Change npm test to ng test Hopefully will exit at tests end. * Extend node installation script This turns off warnings, installs project node modules to improve developer experience. * Fix Win7 powershell issue Should allow to install angular-cli on Windows 7. * Fix Win7 issue through .NET Workarounds missing cmdlet. * Updated Readme.md - added troubleshooting info * MVVM framework (#55) * Add simple MVVM framework Allows to create simple WPF application in MVVM pattern. Increments minor version number. * Enforce version of angular-cli This will resolve dependencies problem. * Link to ZAED repo (#56) * Add information about ZAED Requested by prof. Polanska. * Update Readme.md - restructured the sentence * Integration of dataset in algorithms. (#64) New coordinate getters in IDataset. New "grab all" intensity getter. Addition of MWArray library into Algorithms project directory (!) * Get basic fields * DivikResult structure not tested * Handled case with no intensities after coordinates at end of file. * Add save to DivikResult (#66) Extends DivikResult interface through Save function without implementation, to allow working in WPF client with full interface available. Makes DivikResult sealed so there is no possibility to create an object of this class outside DiviK algorithm implementation. * added test for bigger data * Done all except subregions * Update comments Comments provide now simple description of the content of fields. * DivikResult done * Fix DivikResult .NET-ified convention of properties, removed duplicate failing code, to make project compile. Paths in tests are adjusted to target project root directory. DivikBigData test renamed and annotated to mark the test running very long. * Fix-better named variables * fix - Comments UpperCase * Add Equal to DivikResult (#71) * Add Equal to DivikResult Simple DivikResult instances comparison is introduced and takes into account values of fields. Operators == and != are also implemented. This will allow to use simple comparisons outside this class to check integrity. Note: GetHashCode has NOT been overriden. * Add missing tests Tests whether the convention is held. * JSON serialization for DivikResult implemented (#69) * JSON serialization for DivikResult implemented * DivikResult's empty constructor changed from public to private * StreamWirter replaced with File.WriteAllText * Added identation option to DivikResult.Save(2) * Updated JSON saving test to use DivikResult.Equals(1) * Fixed SetupFixture at DivikResultsTests Changed the for levels from 2 down to 1 * Fix DivikResult.Equals Fixes the case where NaN was different from NaN. * WPF client (#72) * Add simple MVVM framework Allows to create simple WPF application in MVVM pattern. * Add WPF project for DiviK Creates project with sample VM and referenced framework for MVVM. * Reference lower version of failing dep append-transform@^0.4.3 was failing npm to install dependencies. It is included in package.json now, to workaround this problem. * Enforce version of angular-cli This will resolve dependencies problem. * demo main window added, viewmodel filled in * add combo for metrics, add progressbar, add double range validation rule * add txt file picker for input path * add percenage converter, percentage validation rules, move code behind logic to viewModel * add missing prompt for input path * Add integer validation rule * display validation messages in tooltips * fix validation message for percentage rule * bind start divik label * add missing else in SetBusyState :) * add docstrings and license headers to created files * Add button selector for output dir Improves user experience, simplifying directory selection. * Remove verbosity selection User cannot set verbosity either way, so removing unnecessary option. * Add sliders for percents Allows user to enter percents without keyboard. Adds some comments to improve navigation over XAML. * Add cache directory selection Improves UX by simplifying cache directory selection. * add services and services tests projects * add start button handling * add filename for divikresult save * divik cancellation * add unittest for service project * cancellation token behaviour fix * Add directory create on decomposition Fixes the bug where an exception was thrown if directory was not present. * feature/wpf-client fixes * feature/wpf-client csproj save * Add log window Adds log window to show matlab progress. Fixes a problem where matlab did not create directory for images. Removes unnecessary duplication of DataContext initialization. * Fix max components wrapper Max components used in decomposition during filtration were not mapping correctly and always a single component has been used. Now, some components are found, and adaptive feature filtration works. * add unittests for PercentageConverter * add validation rules tests * try to fix appveyor tests * Add unhandled exception handler Prevents app from closing when exception occurs. Logs the exception in main window. * Add ConsoleCaptureService tests Allows to check, whether console was captured properly. * Tidy configs and files (#73) * Move .dlls to single place Allows to keep src directory clean and switching between library versions for Debug and Release. * Add artifact packaging to CI Should allow to autmatically schedule releases to GitHub on every tagged version. Packages all .dlls, single .exe and manual for specified project. * Remove garbage and AnyCPU target There was a lot of strange files in src directory - they got removed now. Also, every project file has been investigated and default target has been set to x64. * Move test files to single directory Test files are moved to single place, which is used in all test projects. Avoids duplication of datasets and allows to check datasets in one spot. * Rename manual file Resolves an issue with packaging, where 7z could not find manual. * Decrease verbosity of packaging Removes unnecessary reports from 7z during build. * Fix algorithm tests Changes test file to make tests possible. * Change default max components number It fits used in research articles now. * Add HNC1 tumor data Adds smaller, but real data set for test purposes. * Switch tests to use smaller data Allows to test the project using data contained in the repo, with smaller amount of computations. * Assign test data directory to const Removes magic strings and assign them meaning. * Fix typo in test Resolves the problem that made solution not compilable. * Fill DiviK manual (#74) * Fill DiviK manual Simple manual of DiviK WPF client has been introduced, to help user apply our software. A script has been prepared for automated rendering of manual files from markdown to pdf. It requires LaTeX and pandoc. It should however help keeping manuals up-to-date in simple command. Only for local usage. * Link manual to Readme Redirects user to manual. * Add readme to docs directory Should make users less confused when looking into docs. * Missing docstrings added (#76)
- Loading branch information