Skip to content

Commit 4fc28c7

Browse files
Formatting
1 parent 0425d31 commit 4fc28c7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

openml_OS/models/api/v1/Api_run.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,6 @@ private function run_upload() {
814814
}
815815

816816
// check whether uploaded files are present.
817-
818817
foreach ($_FILES as $key => $value) {
819818
$message = '';
820819
$extension = getExtension($_FILES[$key]['name']);
@@ -915,10 +914,8 @@ private function run_upload() {
915914

916915
$supported_evaluation_measures = $this->Math_function->getColumnWhere('name', '`functionType` = "EvaluationFunction"');
917916
// the user can specify his own metrics. here we check whether these exists in the database.
918-
919917
if($output_data != false && isset($output_data->evaluation)) {
920918
// php does not have a set data structure, use hashmap instead
921-
922919
$used_evaluation_measures = array();
923920
$illegal_measures = array();
924921
foreach($output_data->children('oml',true)->{'evaluation'} as $e) {
@@ -946,7 +943,6 @@ private function run_upload() {
946943
return;
947944
}
948945
}
949-
950946
// now create a run
951947
$runData = array(
952948
'uploader' => $this->user_id,

0 commit comments

Comments
 (0)