Skip to content

Commit

Permalink
removed print statements and dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
paddymul committed Oct 18, 2024
1 parent 694a98e commit 576f0e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
6 changes: 0 additions & 6 deletions buckaroo/dataflow/autocleaning.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,7 @@ def handle_ops_and_clean(self, df, cleaning_method, quick_command_args, existing
self._setup_from_command_kls_list(cleaning_method)

cleaning_operations, cleaning_sd = self._run_cleaning(df, cleaning_method)
print("quick_command_klasses2", self.quick_command_klasses)


cleaning_operations.extend(quick_ops)
#merged_operations = merge_ops(merged_operations, quick_ops)


merged_operations = merge_ops(existing_operations, cleaning_operations)

cleaned_df = self._run_df_interpreter(df, merged_operations)
Expand Down
2 changes: 1 addition & 1 deletion js/components/DCFCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function WidgetDCFCellExample() {
show_commands: false,
df_display: 'main',
post_processing: '',
quick_command_args : {}
quick_command_args: {},
});

const bOptions: BuckarooOptions = {
Expand Down
3 changes: 1 addition & 2 deletions js/components/StatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ export function StatusBar({
{ field: 'columns', width: 75 },
];

//const extractQuickArg = (foo:Record<string,
const searchArg = buckarooState.quick_command_args?.search;
const searchStr = searchArg && searchArg.length == 1 ? searchArg[0] : '';
const searchStr = searchArg && searchArg.length === 1 ? searchArg[0] : '';

const rowData = [
{
Expand Down
4 changes: 2 additions & 2 deletions js/components/WidgetTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface BuckarooOptions {
show_commands: string[];
}

export type QuickAtom = number|string;
export type QuickArg = QuickAtom[]
export type QuickAtom = number | string;
export type QuickArg = QuickAtom[];
export interface BuckarooState {
sampled: string | false;
auto_clean: string | false;
Expand Down

0 comments on commit 576f0e7

Please sign in to comment.