forked from aboutcode-org/scancode-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use chained_indexing in pandas aboutcode-org#24
Using chained indexing in pandas is a source of problems. The pandas documentation provides some details at: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy This commit fixes this by changing functions in results_analyze/divide_cases.py. Also updates test related data into folders. Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
- Loading branch information
1 parent
8c3370e
commit acc30aa
Showing
7 changed files
with
206 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Copyright (c) nexB Inc. and others. All rights reserved. | ||
# http://nexb.com and https://github.com/nexB/scancode-toolkit/ | ||
# The ScanCode software is licensed under the Apache License version 2.0. | ||
# Data generated with ScanCode require an acknowledgment. | ||
# ScanCode is a trademark of nexB Inc. | ||
# | ||
# You may not use this software except in compliance with the License. | ||
# You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0 | ||
# Unless required by applicable law or agreed to in writing, software distributed | ||
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
# CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
# When you publish or redistribute any data created with ScanCode or any ScanCode | ||
# derivative work, you must accompany this data with the following acknowledgment: | ||
# | ||
# Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
# OR CONDITIONS OF ANY KIND, either express or implied. No content created from | ||
# ScanCode should be considered or used as legal advice. Consult an Attorney | ||
# for any legal advice. | ||
# ScanCode is a free software code scanning tool from nexB Inc. and others. | ||
# Visit https://github.com/nexB/scancode-toolkit/ for support and download. | ||
|
||
# Tracing flags | ||
TRACE = False | ||
|
||
if TRACE: | ||
import logging | ||
import sys | ||
logger = logging.getLogger(__name__) | ||
logging.basicConfig(stream=sys.stdout) | ||
logger.setLevel(logging.DEBUG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
ABAP | ||
ActionScript 3 | ||
ActionScript | ||
ANTLR | ||
AppleScript | ||
AspectJ | ||
Base Makefile | ||
Bash | ||
Batchfile | ||
C | ||
CMake | ||
aspx-cs | ||
C# | ||
Clojure | ||
ClojureScript | ||
COBOLFree | ||
COBOL | ||
CoffeeScript | ||
Common Lisp | ||
C++ | ||
CSS | ||
Cython | ||
Dart | ||
Delphi | ||
Elixir | ||
ERB | ||
Erlang | ||
FSharp | ||
Fortran | ||
GAS | ||
Go | ||
Groovy | ||
Haskell | ||
Haxe | ||
HTML | ||
Java | ||
JavaScript | ||
JSON-LD | ||
JSON | ||
Kotlin | ||
Lua | ||
NASM | ||
Objective-C | ||
Objective-C++ | ||
Objective-J | ||
OCaml | ||
Perl6 | ||
Perl | ||
PHP | ||
PowerShell | ||
Prolog | ||
Python 3 | ||
Python | ||
Ruby | ||
Rust | ||
Sass | ||
Scala | ||
SCSS | ||
Smalltalk | ||
SQL | ||
Swift | ||
Tcl | ||
Tcsh | ||
TypeScript | ||
aspx-vb | ||
VB.net | ||
verilog | ||
vhdl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"rule_folder": "/home/ayan/Desktop/nexB/gsoc20/scancode-toolkit/src/licensedcode/data/rules", | ||
"lic_folder": "/home/ayan/Desktop/nexB/gsoc20/scancode-toolkit/src/licensedcode/data/licenses" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.